package com.xinlu.persistence;

import java.sql.Timestamp;

/**
 * Hyxx entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Yhxx implements java.io.Serializable {

	// Fields

	private Integer id;
	private String title;
	private String content;
	private String username;
	private Timestamp addtime;
	private int state;
	private String msgtype;

	// Constructors

	public String getMsgtype() {
		return msgtype;
	}

	public void setMsgtype(String msgtype) {
		this.msgtype = msgtype;
	}

	/** default constructor */
	public Yhxx() {
	}

	/** full constructor */
	public Yhxx(Integer id, String title, String content, String username, Timestamp addtime, int state,String msgtype) {
		this.id = id;
		this.title = title;
		this.content = content;
		this.username = username;
		this.addtime = addtime;
		this.state = state;
		this.msgtype = msgtype;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public Timestamp getAddtime() {
		return addtime;
	}

	public void setAddtime(Timestamp addtime) {
		this.addtime = addtime;
	}

	public int getState() {
		return state;
	}

	public void setState(int state) {
		this.state = state;
	}
}